﻿package com.javaPattern.Visitor;

public class B implements Visitor {

	@Override
	public void visit(PartA A) {

	}

	@Override
	public void visit(PartB B) {
		System.out.println("B 主管" + B.getName());
	}

}
